package com.example.webchar.webchar.service;

import com.example.webchar.webchar.pojo.Novel;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @program: webchars
 * @description
 * @author: YouName
 * @create: 2021-08-28 08:31
 **/
@Service
public interface ChapteService {
    /**
     * 根据小说id查询当前小说的信息
     *
     * @param novelId
     * @return
     */
    List<Novel> queryChapte(Integer novelId);

    /**
     * 根据当前小说的id 删除这本小说
     *
     * @param novelId
     * @return
     */
    boolean deleteNovel(Integer novelId);
}
